package com.victualler.product.vender.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.victualler.core.base.dao.BaseDao;
import com.victualler.core.base.dao.BaseDetailDao;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Author: Guoshichang
 * @Date: Create in 23:16 2018/4/9
 * @Discription: 厂商图片信息表
 */
@Entity
@Table(name="vender_img_detail")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class VenderImgDetailDao extends BaseDetailDao implements Serializable{
    private static final long serialVersionUID =1L;

    @Column
    private Long imgId ;   //图片id

    @Column
    private int  venderDesc;     //顺序
    @Column(length = 1)
    private int  place;    //展示位置 主附 详细附属



    public Long getImgId() {
        return imgId;
    }

    public void setImgId(Long imgId) {
        this.imgId = imgId;
    }




    public int getVenderDesc() {
        return venderDesc;
    }

    public void setVenderDesc(int venderDesc) {
        this.venderDesc = venderDesc;
    }

    public int getPlace() {
        return place;
    }

    public void setPlace(int place) {
        this.place = place;
    }
}
